#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QMap>
#include <QList>
#include <QMenu>

#define _USE_MATH_DEFINES

namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();

signals:
    void signalCalc();

private slots:
    void on_pushButtonCalc_clicked();

    void on_Dialog_customContextMenuRequested(const QPoint &pos);

    void slotRandomNumber();
    void slotCalcArea();

private:
    Ui::Dialog *ui;
    int counter;
    QMap <QString, QList<QString>> list;
    QStringList stringList;
    QMenu *dialogMenu;
};

#endif // DIALOG_H
